package com.lsu.app.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lsu.app.bean.Course;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 *
 * @description 针对表【course(课程)】的数据库操作Service
 * @Date 2023-10-18 20:26:04
 * @author hjj
 */

public interface CourseService extends IService<Course> {
    String getDirPathByCourseId(Integer id);
    Boolean existCourseByName(String name,Integer id);
    String getCourseNameById(Integer id);
    void updateCourseProgress(Integer id,Integer amount);
    String getTeacherNameByTeacherId(Integer id);
    void addClickById(Integer id);
    void addClickByIdOfCount(Integer id,Integer count);
    void updateHeatById(Integer id,Integer amount);
    Integer getTeacherIdByCourseId(Integer id);
    Integer getKindNameValueByKindName(String KindName);
    List<Integer> getCourseIds();
    String getTeacherNameByCourseId(Integer id);
    List<Integer> getCourseIdsOfTeacherId(Integer teacherId);
    Integer CountCourseNumByTeacherId(Integer teacherId);
    Integer CountClickByTeacherId(Integer teacherId);
    List<Course> getCourseByTeacherId(Integer teacherId);
}
